<?php
declare (strict_types = 1);

namespace app\adminapi\model\system\auth;

use adminmatrix\server\app\model\BaseModel;
use think\model\relation\HasMany;
use think\model\relation\HasOne;

/**
 * @mixin \think\Model
 */
class AdminUserRole extends BaseModel
{
    //

    #-------------------------------------------------------------------
    # 关联表
    #-------------------------------------------------------------------

    # 关联角色
    public function roleName() : HasMany    {
        return $this->hasMany(Role::class );
    }
}
